﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace kTudu.Web.Models
{
    public class LoginModel
    {
        [Required(AllowEmptyStrings = false, ErrorMessage = "Debe ingresar un usuario.")]
        [Display(Name = "Usuario")]
        [StringLength(50)]
        public string UserName { get; set; }

        [Required(AllowEmptyStrings = false, ErrorMessage = "Debe ingresar un password.")]
        [Display(Name = "Contraseña")]
        [DataType(DataType.Password)]
        [StringLength(50)]
        public string Password { get; set; }

        [Display(Name = "Recordar")]
        public bool Recordar { get; set; }
    }
}
